package com.xianzhi.dao;

import com.xianzhi.bean.Ad;

import java.util.List;

public interface AdDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Ad record);

    int insertSelective(Ad record);

    Ad selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Ad record);

    int updateByPrimaryKey(Ad record);

    List<Ad> selectByPage(Ad ad);

    int insertImg(Ad ad);//添加图片
}